package com.bjpowernode.learnmongodb.repository;

import com.bjpowernode.learnmongodb.entity.User;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.repository.MongoRepository;

/**
 * User：集合名字
 * ObjectId:主键
 */
public interface UserRepository extends MongoRepository<User, ObjectId> {
}
